home *** CD-ROM | disk | FTP | other *** search
/ BMUG PD-ROM BV3 / BMUG PD-ROM Version BV3 (CDRM1097900).iso / HyperCard / Games / The Golden Parrot / card_16987.txt < prev    next >
Text File  |  1990-08-20  |  1KB  |  41 lines

  1. -- card: 16987 from stack: in
  2. -- bmap block id: 0
  3. -- flags: 0000
  4. -- background id: 3426
  5. -- name: Shoot the lion
  6. ----- HyperTalk script -----
  7. on openCard
  8.   global score
  9.   add 50 to score
  10.   put score into field "scorebox"
  11. end openCard
  12. on mouseUp
  13.   get field "textarea" of card "Mountain Trail"
  14.   put it into holder
  15.   put the number of lines in field "textarea" of card "Mountain Trail" into counter
  16.   repeat until counter = 0
  17.     get line counter of holder
  18.     if it contains "The hungry lion" then
  19.       delete line counter of field "textarea" of card "Mountain Trail"
  20.       put 1 into counter
  21.     end if
  22.     subtract 1 from counter
  23.   end repeat
  24.  
  25.   visual effect dissolve
  26.   go to card "Mountain Trail"
  27.  
  28. end mouseUp
  29.  
  30.  
  31. -- part contents for background part 1
  32. ----- text -----
  33. Shoot the lion
  34.  
  35. -- part contents for background part 2
  36. ----- text -----
  37. In the midst of your travels, a lion leaps out onto your path. This looks to be the same hungry lion you saw earlier in the game. You take a bead on him with your gun. At that moment, the lion launches himself into the air, coming straight towards you. Your gun goes off - the lion collapses in a heap at your feet. Another king-o'-the-hill for the Lincoln Park Zoo.
  38.  
  39. -- part contents for background part 5
  40. ----- text -----
  41. 345